package org.eiahe.hr.performance.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.ehe.common.mybatis.core.domain.BaseEntity;

import java.util.Date;

/**
 * 绩效推送记录表
 *
 * @author zhangnn
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("hr_performance_push_record")
public class PerformancePushRecord extends BaseEntity {

    /**
     * 记录ID
     */
    @TableId(value = "record_id", type = IdType.AUTO)
    private Long recordId;

    /**
     * 租户ID
     */
    private String tenantId;

    /**
     * 工号
     */
    private String employeeNo;

    /**
     * 结果ID
     */
    private Long resultId;

    /**
     * 推送时间
     */
    private Date pushTime;

    /**
     * 推送状态(0未推送 1已推送)
     */
    private String pushStatus;

    /**
     * 阅读状态(0未读 1已读)
     */
    private String readStatus;

    /**
     * 删除标志(0存在 1删除)
     */
    @TableLogic
    private String delFlag;

    /**
     * 创建者
     */
    @TableField(fill = FieldFill.INSERT)
    private Long createBy;

    /**
     * 更新者
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateBy;
}